<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			p,ul{
				background: #FF0000;
			}
			body> p,h1,ul{
				background:pink;
			}
			.active +p{
				background: green;
			}
			.active~p{
				background: yellow;
			}
		</style>
	</head>
	<body>
		<p class="active">1</p>
		<p>2</p>
		<p>3</p>
		<h1>辩题</h1>
		<ul>
			<li>
				<p>w</p>
			</li>
			<li>
				<p>a</p>
			</li>
			<li>
				<p>s</p>
			</li>
		</ul>
	</body>
</html>
